package com.wzcl.app.service;

import com.wzcl.app.dao.model.CourseComment;
import com.wzcl.app.model.common.MyPage;
import com.wzcl.app.model.dto.CourseCommentDto;

public interface CourseCommentService extends BaseService<CourseComment,CourseCommentDto>{

    CourseComment addCourseComment(CourseCommentDto courseCommentDto);

    CourseComment delCourseComment(CourseCommentDto courseCommentDto);

    CourseComment getCourseCommentById(Integer id);

    CourseComment getCourseCommentTreeById(Integer id);

    void putCourseCommentTree(CourseComment comment);

    MyPage<CourseComment> getCourseCommentPage(CourseCommentDto courseCommentDto);

}
